package com.xb.loan.usercenter.user.user.dao;


import com.xb.loan.log.exception.BizException;
import com.xb.loan.usercenter.user.user.dao.bean.UserActivity;
import com.xb.loan.util.mybatis.MyBatisRepository;

import java.util.List;
import java.util.Map;

@MyBatisRepository
public interface UserActivityDao {
	
	public void insertSelective(UserActivity userActivity);

	public void delete(String id) throws BizException;

	public void update(UserActivity userActivity) throws BizException;

	public UserActivity query(String id) throws BizException;

	public List<UserActivity> queryAppUserActivity(Map<String, Integer> map);

	public int queryAppUserActivityCount();

	public List<UserActivity> queryUserActivity(Map<String, Object> map);

	public int queryUserActivityCount(Map<String, Object> map);
	
}